package cn.yangliu.nacos.comm.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.reactive.result.method.annotation.ResponseBodyResultHandler;

/**
 * The type Web flux config.
 *
 * <p>
 * .
 *
 * @author 问道于盲
 * @date 2019 -12-12
 */
@Configuration
//@Component
@ConditionalOnClass(ResponseBodyResultHandler.class)
public class WebFluxConfig {

    /**
     * Global response body result handler global response body result handler.
     *
     * @return the global response body result handler
     */
   /* @Bean
    public HttpMessageWriter messageWriter(){
        return new GlobalResponseBodyResultHandler(serverCodecConfigurer.getWriters(),
                requestedContentTypeResolver);
    }*/
}
